package com.leyou.order.mapper;

import com.leyou.order.entity.Order;
import tk.mybatis.mapper.additional.idlist.IdListMapper;
import tk.mybatis.mapper.additional.insert.InsertListMapper;
import tk.mybatis.mapper.common.Mapper;

import java.util.List;

/**
 * mapper： 我们的订单的id不是自动增长
 */
public interface OrderMapper extends Mapper<Order>, IdListMapper<Order, Long>, InsertListMapper<Order> {
    public List<Order> findOrdersByKeyWord(String keyWord);
}
